import { TypedUseSelectorHook, useSelector } from "react-redux";
import { AppState } from "./index";
/**使用这个来获取总仓库的数据，是对useSelector的一层封装，但是减少了繁杂的泛型 */
export const useAppSelector: TypedUseSelectorHook<AppState> = useSelector;
